<?php
// 错误相关定义

return [
    'code' => [
        -1000 => 'Access Denied!',
        -1001 => 'Interface Does Not Exist',
        -1002 => 'Request Method Error',
        -1003 => 'Sign Failed!签名验证失败',
        -1004 => 'Sign Expired!签名过期',
        -1005 => '您还没有登陆,Token为空',
        -1006 => 'Token效验失败',
        -1007 => 'Token已过期',
        -1008 => 'Log off! 日志功能已关闭',
        -1009 => 'DB错误',

        -2001 => '缺少参数',
        -2002 => '参数错误',
        -2003 => '没有登陆',
        -2004 => '已经登陆过了,重复登陆',
        -2005 => '用户登陆状态已经过期,请重新登陆',
        -2006 => '该用户不存在',
        -2007 => '不存在的新闻类型',
    ],
    'level' => [
        '-1' => '系统级错误',
        '-2' => '业务级别错误',
    ],

];
